import fetch from '@/utils/fetch'

export function fetchList () {
  return fetch({
    url: '/api/students',
    method: 'get'
  })
}

export function getStudent (query) {
  return fetch({
    url: '/api/getStudentByEmpNo',
    method: 'get',
    params: query
  })
}

export function getSignStudents (query) {
  return fetch({
    url: '/api/getSignStudents',
    method: 'get',
    params: query
  })
}
